/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.portal.model.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2019-05-23
 * @version 1.0
 * @since 1.0
 */
public class WechatMenuCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static WechatMenuCriteria create() {
		return new WechatMenuCriteria();
	}
	
	public static WechatMenuCriteria create(Column column) {
		WechatMenuCriteria that = new WechatMenuCriteria();
		that.add(column);
        return that;
    }

    public static WechatMenuCriteria create(String name, Object value) {
        return (WechatMenuCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("cms_wechat_menu", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public WechatMenuCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public WechatMenuCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public WechatMenuCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public WechatMenuCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public WechatMenuCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public WechatMenuCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public WechatMenuCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public WechatMenuCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public WechatMenuCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public WechatMenuCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public WechatMenuCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public WechatMenuCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public WechatMenuCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public WechatMenuCriteria andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public WechatMenuCriteria andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public WechatMenuCriteria andIdIsEmpty() {
		empty("id");
		return this;
	}

	public WechatMenuCriteria andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public WechatMenuCriteria andIdEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdNotEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdGreaterThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdLessThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Long", "Float");
    	  return this;
      }

      public WechatMenuCriteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Long", "Float");
          return this;
      }
        
      public WechatMenuCriteria andIdIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andIdNotIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Long", "Float");
          return this;
      }
	public WechatMenuCriteria andPidIsNull() {
		isnull("pid");
		return this;
	}
	
	public WechatMenuCriteria andPidIsNotNull() {
		notNull("pid");
		return this;
	}
	
	public WechatMenuCriteria andPidIsEmpty() {
		empty("pid");
		return this;
	}

	public WechatMenuCriteria andPidIsNotEmpty() {
		notEmpty("pid");
		return this;
	}
       public WechatMenuCriteria andPidEqualTo(java.lang.Long value) {
          addCriterion("pid", value, ConditionMode.EQUAL, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidNotEqualTo(java.lang.Long value) {
          addCriterion("pid", value, ConditionMode.NOT_EQUAL, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidGreaterThan(java.lang.Long value) {
          addCriterion("pid", value, ConditionMode.GREATER_THEN, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("pid", value, ConditionMode.GREATER_EQUAL, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidLessThan(java.lang.Long value) {
          addCriterion("pid", value, ConditionMode.LESS_THEN, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("pid", value, ConditionMode.LESS_EQUAL, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("pid", value1, value2, ConditionMode.BETWEEN, "pid", "java.lang.Long", "Float");
    	  return this;
      }

      public WechatMenuCriteria andPidNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("pid", value1, value2, ConditionMode.NOT_BETWEEN, "pid", "java.lang.Long", "Float");
          return this;
      }
        
      public WechatMenuCriteria andPidIn(List<java.lang.Long> values) {
          addCriterion("pid", values, ConditionMode.IN, "pid", "java.lang.Long", "Float");
          return this;
      }

      public WechatMenuCriteria andPidNotIn(List<java.lang.Long> values) {
          addCriterion("pid", values, ConditionMode.NOT_IN, "pid", "java.lang.Long", "Float");
          return this;
      }
	public WechatMenuCriteria andTextIsNull() {
		isnull("text");
		return this;
	}
	
	public WechatMenuCriteria andTextIsNotNull() {
		notNull("text");
		return this;
	}
	
	public WechatMenuCriteria andTextIsEmpty() {
		empty("text");
		return this;
	}

	public WechatMenuCriteria andTextIsNotEmpty() {
		notEmpty("text");
		return this;
	}
        public WechatMenuCriteria andTextLike(java.lang.String value) {
    	   addCriterion("text", value, ConditionMode.FUZZY, "text", "java.lang.String", "Float");
    	   return this;
      }

      public WechatMenuCriteria andTextNotLike(java.lang.String value) {
          addCriterion("text", value, ConditionMode.NOT_FUZZY, "text", "java.lang.String", "Float");
          return this;
      }
      public WechatMenuCriteria andTextEqualTo(java.lang.String value) {
          addCriterion("text", value, ConditionMode.EQUAL, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextNotEqualTo(java.lang.String value) {
          addCriterion("text", value, ConditionMode.NOT_EQUAL, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextGreaterThan(java.lang.String value) {
          addCriterion("text", value, ConditionMode.GREATER_THEN, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("text", value, ConditionMode.GREATER_EQUAL, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextLessThan(java.lang.String value) {
          addCriterion("text", value, ConditionMode.LESS_THEN, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextLessThanOrEqualTo(java.lang.String value) {
          addCriterion("text", value, ConditionMode.LESS_EQUAL, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("text", value1, value2, ConditionMode.BETWEEN, "text", "java.lang.String", "String");
    	  return this;
      }

      public WechatMenuCriteria andTextNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("text", value1, value2, ConditionMode.NOT_BETWEEN, "text", "java.lang.String", "String");
          return this;
      }
        
      public WechatMenuCriteria andTextIn(List<java.lang.String> values) {
          addCriterion("text", values, ConditionMode.IN, "text", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTextNotIn(List<java.lang.String> values) {
          addCriterion("text", values, ConditionMode.NOT_IN, "text", "java.lang.String", "String");
          return this;
      }
	public WechatMenuCriteria andKeywordIsNull() {
		isnull("keyword");
		return this;
	}
	
	public WechatMenuCriteria andKeywordIsNotNull() {
		notNull("keyword");
		return this;
	}
	
	public WechatMenuCriteria andKeywordIsEmpty() {
		empty("keyword");
		return this;
	}

	public WechatMenuCriteria andKeywordIsNotEmpty() {
		notEmpty("keyword");
		return this;
	}
        public WechatMenuCriteria andKeywordLike(java.lang.String value) {
    	   addCriterion("keyword", value, ConditionMode.FUZZY, "keyword", "java.lang.String", "String");
    	   return this;
      }

      public WechatMenuCriteria andKeywordNotLike(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.NOT_FUZZY, "keyword", "java.lang.String", "String");
          return this;
      }
      public WechatMenuCriteria andKeywordEqualTo(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.EQUAL, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordNotEqualTo(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.NOT_EQUAL, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordGreaterThan(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.GREATER_THEN, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.GREATER_EQUAL, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordLessThan(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.LESS_THEN, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordLessThanOrEqualTo(java.lang.String value) {
          addCriterion("keyword", value, ConditionMode.LESS_EQUAL, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("keyword", value1, value2, ConditionMode.BETWEEN, "keyword", "java.lang.String", "String");
    	  return this;
      }

      public WechatMenuCriteria andKeywordNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("keyword", value1, value2, ConditionMode.NOT_BETWEEN, "keyword", "java.lang.String", "String");
          return this;
      }
        
      public WechatMenuCriteria andKeywordIn(List<java.lang.String> values) {
          addCriterion("keyword", values, ConditionMode.IN, "keyword", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andKeywordNotIn(List<java.lang.String> values) {
          addCriterion("keyword", values, ConditionMode.NOT_IN, "keyword", "java.lang.String", "String");
          return this;
      }
	public WechatMenuCriteria andTypeIsNull() {
		isnull("type");
		return this;
	}
	
	public WechatMenuCriteria andTypeIsNotNull() {
		notNull("type");
		return this;
	}
	
	public WechatMenuCriteria andTypeIsEmpty() {
		empty("type");
		return this;
	}

	public WechatMenuCriteria andTypeIsNotEmpty() {
		notEmpty("type");
		return this;
	}
        public WechatMenuCriteria andTypeLike(java.lang.String value) {
    	   addCriterion("type", value, ConditionMode.FUZZY, "type", "java.lang.String", "String");
    	   return this;
      }

      public WechatMenuCriteria andTypeNotLike(java.lang.String value) {
          addCriterion("type", value, ConditionMode.NOT_FUZZY, "type", "java.lang.String", "String");
          return this;
      }
      public WechatMenuCriteria andTypeEqualTo(java.lang.String value) {
          addCriterion("type", value, ConditionMode.EQUAL, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeNotEqualTo(java.lang.String value) {
          addCriterion("type", value, ConditionMode.NOT_EQUAL, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeGreaterThan(java.lang.String value) {
          addCriterion("type", value, ConditionMode.GREATER_THEN, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("type", value, ConditionMode.GREATER_EQUAL, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeLessThan(java.lang.String value) {
          addCriterion("type", value, ConditionMode.LESS_THEN, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeLessThanOrEqualTo(java.lang.String value) {
          addCriterion("type", value, ConditionMode.LESS_EQUAL, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("type", value1, value2, ConditionMode.BETWEEN, "type", "java.lang.String", "String");
    	  return this;
      }

      public WechatMenuCriteria andTypeNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("type", value1, value2, ConditionMode.NOT_BETWEEN, "type", "java.lang.String", "String");
          return this;
      }
        
      public WechatMenuCriteria andTypeIn(List<java.lang.String> values) {
          addCriterion("type", values, ConditionMode.IN, "type", "java.lang.String", "String");
          return this;
      }

      public WechatMenuCriteria andTypeNotIn(List<java.lang.String> values) {
          addCriterion("type", values, ConditionMode.NOT_IN, "type", "java.lang.String", "String");
          return this;
      }
	public WechatMenuCriteria andOrderNumberIsNull() {
		isnull("order_number");
		return this;
	}
	
	public WechatMenuCriteria andOrderNumberIsNotNull() {
		notNull("order_number");
		return this;
	}
	
	public WechatMenuCriteria andOrderNumberIsEmpty() {
		empty("order_number");
		return this;
	}

	public WechatMenuCriteria andOrderNumberIsNotEmpty() {
		notEmpty("order_number");
		return this;
	}
       public WechatMenuCriteria andOrderNumberEqualTo(java.lang.Integer value) {
          addCriterion("order_number", value, ConditionMode.EQUAL, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberNotEqualTo(java.lang.Integer value) {
          addCriterion("order_number", value, ConditionMode.NOT_EQUAL, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberGreaterThan(java.lang.Integer value) {
          addCriterion("order_number", value, ConditionMode.GREATER_THEN, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("order_number", value, ConditionMode.GREATER_EQUAL, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberLessThan(java.lang.Integer value) {
          addCriterion("order_number", value, ConditionMode.LESS_THEN, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("order_number", value, ConditionMode.LESS_EQUAL, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("order_number", value1, value2, ConditionMode.BETWEEN, "orderNumber", "java.lang.Integer", "Float");
    	  return this;
      }

      public WechatMenuCriteria andOrderNumberNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("order_number", value1, value2, ConditionMode.NOT_BETWEEN, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }
        
      public WechatMenuCriteria andOrderNumberIn(List<java.lang.Integer> values) {
          addCriterion("order_number", values, ConditionMode.IN, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }

      public WechatMenuCriteria andOrderNumberNotIn(List<java.lang.Integer> values) {
          addCriterion("order_number", values, ConditionMode.NOT_IN, "orderNumber", "java.lang.Integer", "Float");
          return this;
      }
	public WechatMenuCriteria andCreatedIsNull() {
		isnull("created");
		return this;
	}
	
	public WechatMenuCriteria andCreatedIsNotNull() {
		notNull("created");
		return this;
	}
	
	public WechatMenuCriteria andCreatedIsEmpty() {
		empty("created");
		return this;
	}

	public WechatMenuCriteria andCreatedIsNotEmpty() {
		notEmpty("created");
		return this;
	}
       public WechatMenuCriteria andCreatedEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedNotEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.NOT_EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedGreaterThan(java.util.Date value) {
          addCriterion("created", value, ConditionMode.GREATER_THEN, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.GREATER_EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedLessThan(java.util.Date value) {
          addCriterion("created", value, ConditionMode.LESS_THEN, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedLessThanOrEqualTo(java.util.Date value) {
          addCriterion("created", value, ConditionMode.LESS_EQUAL, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("created", value1, value2, ConditionMode.BETWEEN, "created", "java.util.Date", "String");
    	  return this;
      }

      public WechatMenuCriteria andCreatedNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("created", value1, value2, ConditionMode.NOT_BETWEEN, "created", "java.util.Date", "String");
          return this;
      }
        
      public WechatMenuCriteria andCreatedIn(List<java.util.Date> values) {
          addCriterion("created", values, ConditionMode.IN, "created", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andCreatedNotIn(List<java.util.Date> values) {
          addCriterion("created", values, ConditionMode.NOT_IN, "created", "java.util.Date", "String");
          return this;
      }
	public WechatMenuCriteria andModifiedIsNull() {
		isnull("modified");
		return this;
	}
	
	public WechatMenuCriteria andModifiedIsNotNull() {
		notNull("modified");
		return this;
	}
	
	public WechatMenuCriteria andModifiedIsEmpty() {
		empty("modified");
		return this;
	}

	public WechatMenuCriteria andModifiedIsNotEmpty() {
		notEmpty("modified");
		return this;
	}
       public WechatMenuCriteria andModifiedEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedNotEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.NOT_EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedGreaterThan(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.GREATER_THEN, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.GREATER_EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedLessThan(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.LESS_THEN, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedLessThanOrEqualTo(java.util.Date value) {
          addCriterion("modified", value, ConditionMode.LESS_EQUAL, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("modified", value1, value2, ConditionMode.BETWEEN, "modified", "java.util.Date", "String");
    	  return this;
      }

      public WechatMenuCriteria andModifiedNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("modified", value1, value2, ConditionMode.NOT_BETWEEN, "modified", "java.util.Date", "String");
          return this;
      }
        
      public WechatMenuCriteria andModifiedIn(List<java.util.Date> values) {
          addCriterion("modified", values, ConditionMode.IN, "modified", "java.util.Date", "String");
          return this;
      }

      public WechatMenuCriteria andModifiedNotIn(List<java.util.Date> values) {
          addCriterion("modified", values, ConditionMode.NOT_IN, "modified", "java.util.Date", "String");
          return this;
      }
}